package com.xianzhiOA.service;

import com.xianzhiOA.bean.XzSchedule;
import com.xianzhiOA.util.PageBean;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 *ScheduleService
 *
 * @author 甘汝雷
 * @create 2017-04-19 10:17
 **/
public interface XzScheduleService {
    PageBean<XzSchedule> selScheduleAll(XzSchedule schedule, int page, int rows, Date beginDate, Date endDate,Date begin);
    List<XzSchedule> selScheduleAll(XzSchedule schedule);
    List<XzSchedule> selScheduleAll(Map map);
    XzSchedule selByScheduleId(Long scheduleId);
    int addSchedule(XzSchedule schedule);
    int delete(Long scheduleId);
    int isdelete(Long scheduleId);
    int update(XzSchedule schedule);
}
